<?php
/**
 *      [Woo.vn!] (C)2011 IACD.,JSC.
 *      This is NOT a freeware, use is subject to license terms
 *      $Id: misc_getajax.php 2011-11-30 16:46:59Z Hung Cuong $
 */

if(!defined('IN_DISCUZ')) {
	exit('Access Denied');
}
$_GET['link'] = 'http://www.youtube.com/watch?v=zSMjo4vo93Y&feature=topvideos_sports';
$link = dhtmlspecialchars(trim($_GET['link']));


$parseLink = parse_url($link);
require_once libfile('function/discuzcode');
$flashvar = parseflv($link);

$data = "{'flv':'$flashvar[flv]', 'title':'$flashvar[body_data_title]', 'desc':'$flashvar[body_data_desc]', 'imgURL': '$flashvar[imgurl]'}"; 
include template('ajax/ajax_get_new_share');
?>